home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / XCO212P.ZIP / ISODEF / ioconsts.def < prev    next >
Encoding:
Modula Definition  |  1994-12-22  |  543 b   |  18 lines

  1. DEFINITION MODULE IOConsts;
  2.  
  3.   (* Types and constants for input/output modules *)
  4.  
  5. TYPE
  6.   ReadResults =  (* This type is used to classify the result of an input operation *)
  7.   (
  8.     notKnown,    (* no read result is set *)
  9.     allRight,    (* data is as expected or as required *)
  10.     outOfRange,  (* data cannot be represented *)
  11.     wrongFormat, (* data not in expected format *)
  12.     endOfLine,   (* end of line seen before expected data *)
  13.     endOfInput   (* end of input seen before expected data *)
  14.   );
  15.  
  16. END IOConsts.
  17.  
  18.